package com.test.nnooolwdeaer.util_wooden.analytics_wooden.util_wooden

import android.app.Application
import com.test.nnooolwdeaer.dec_wooden.Demo_wooden
import com.test.nnooolwdeaer.activity_fragment_wooden.base_wooden.BaseApplication_wooden
import com.test.nnooolwdeaer.util_wooden.helper_wooden.UserInfoHelper_wooden
import com.test.nnooolwdeaer.util_wooden.http_wooden.HttpManager_wooden

object SycDeviceUtil_wooden {

    /**
     * 初始化设备信息模块
     *
     * @param context Application
     */
    fun init(context: Application) {}

    /**
     * 保存设备 s2s信息
     */
    fun saveS2SInfo() {
        try {
            if (UserInfoHelper_wooden.getInstance_wooden().didLogin_wooden()) {
                //device info upload
                HttpManager_wooden.getInstance_wooden().fetchDeviceInfoType()
            }
        } catch (e: Exception) {
            e.printStackTrace()
        }
    }

}